Optimal. Leaf size=88 \[ -\frac{\left (b^2-4 a c\right ) (b d+2 c d x)^{5/2}}{40 c^3 d^3}+\frac{\left (b^2-4 a c\right )^2 \sqrt{b d+2 c d x}}{16 c^3 d}+\frac{(b d+2 c d x)^{9/2}}{144 c^3 d^5} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.115746, antiderivative size = 88, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.038 \[ -\frac{\left (b^2-4 a c\right ) (b d+2 c d x)^{5/2}}{40 c^3 d^3}+\frac{\left (b^2-4 a c\right )^2 \sqrt{b d+2 c d x}}{16 c^3 d}+\frac{(b d+2 c d x)^{9/2}}{144 c^3 d^5} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x + c*x^2)^2/Sqrt[b*d + 2*c*d*x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 28.5899, size = 82, normalized size = 0.93 \[ \frac{\left (- 4 a c + b^{2}\right )^{2} \sqrt{b d + 2 c d x}}{16 c^{3} d} - \frac{\left (- 4 a c + b^{2}\right ) \left (b d + 2 c d x\right )^{\frac{5}{2}}}{40 c^{3} d^{3}} + \frac{\left (b d + 2 c d x\right )^{\frac{9}{2}}}{144 c^{3} d^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**2+b*x+a)**2/(2*c*d*x+b*d)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.10408, size = 92, normalized size = 1.05 \[ \frac{\left (c^2 \left (45 a^2+18 a c x^2+5 c^2 x^4\right )+3 b^2 c \left (c x^2-6 a\right )+2 b c^2 x \left (9 a+5 c x^2\right )+2 b^4-2 b^3 c x\right ) \sqrt{d (b+2 c x)}}{45 c^3 d} \]
Antiderivative was successfully verified.
[In] Integrate[(a + b*x + c*x^2)^2/Sqrt[b*d + 2*c*d*x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 96, normalized size = 1.1 \[{\frac{ \left ( 2\,cx+b \right ) \left ( 5\,{c}^{4}{x}^{4}+10\,b{x}^{3}{c}^{3}+18\,a{c}^{3}{x}^{2}+3\,{b}^{2}{c}^{2}{x}^{2}+18\,ab{c}^{2}x-2\,{b}^{3}cx+45\,{a}^{2}{c}^{2}-18\,ac{b}^{2}+2\,{b}^{4} \right ) }{45\,{c}^{3}}{\frac{1}{\sqrt{2\,cdx+bd}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^2+b*x+a)^2/(2*c*d*x+b*d)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.688875, size = 474, normalized size = 5.39 \[ \frac{5040 \, \sqrt{2 \, c d x + b d} a^{2} - 168 \, a{\left (\frac{10 \,{\left (3 \, \sqrt{2 \, c d x + b d} b d -{\left (2 \, c d x + b d\right )}^{\frac{3}{2}}\right )} b}{c d} - \frac{15 \, \sqrt{2 \, c d x + b d} b^{2} d^{2} - 10 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b d + 3 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}}}{c d^{2}}\right )} + \frac{84 \,{\left (15 \, \sqrt{2 \, c d x + b d} b^{2} d^{2} - 10 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b d + 3 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}}\right )} b^{2}}{c^{2} d^{2}} - \frac{36 \,{\left (35 \, \sqrt{2 \, c d x + b d} b^{3} d^{3} - 35 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b^{2} d^{2} + 21 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} b d - 5 \,{\left (2 \, c d x + b d\right )}^{\frac{7}{2}}\right )} b}{c^{2} d^{3}} + \frac{315 \, \sqrt{2 \, c d x + b d} b^{4} d^{4} - 420 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b^{3} d^{3} + 378 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} b^{2} d^{2} - 180 \,{\left (2 \, c d x + b d\right )}^{\frac{7}{2}} b d + 35 \,{\left (2 \, c d x + b d\right )}^{\frac{9}{2}}}{c^{2} d^{4}}}{5040 \, c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/sqrt(2*c*d*x + b*d),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.21066, size = 124, normalized size = 1.41 \[ \frac{{\left (5 \, c^{4} x^{4} + 10 \, b c^{3} x^{3} + 2 \, b^{4} - 18 \, a b^{2} c + 45 \, a^{2} c^{2} + 3 \,{\left (b^{2} c^{2} + 6 \, a c^{3}\right )} x^{2} - 2 \,{\left (b^{3} c - 9 \, a b c^{2}\right )} x\right )} \sqrt{2 \, c d x + b d}}{45 \, c^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/sqrt(2*c*d*x + b*d),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 49.1472, size = 668, normalized size = 7.59 \[ \begin{cases} - \frac{\frac{a^{2} b}{\sqrt{b d + 2 c d x}} + \frac{a^{2} \left (- \frac{b d}{\sqrt{b d + 2 c d x}} - \sqrt{b d + 2 c d x}\right )}{d} + \frac{a b^{2} \left (- \frac{b d}{\sqrt{b d + 2 c d x}} - \sqrt{b d + 2 c d x}\right )}{c d} + \frac{3 a b \left (\frac{b^{2} d^{2}}{\sqrt{b d + 2 c d x}} + 2 b d \sqrt{b d + 2 c d x} - \frac{\left (b d + 2 c d x\right )^{\frac{3}{2}}}{3}\right )}{2 c d^{2}} + \frac{a \left (- \frac{b^{3} d^{3}}{\sqrt{b d + 2 c d x}} - 3 b^{2} d^{2} \sqrt{b d + 2 c d x} + b d \left (b d + 2 c d x\right )^{\frac{3}{2}} - \frac{\left (b d + 2 c d x\right )^{\frac{5}{2}}}{5}\right )}{2 c d^{3}} + \frac{b^{3} \left (\frac{b^{2} d^{2}}{\sqrt{b d + 2 c d x}} + 2 b d \sqrt{b d + 2 c d x} - \frac{\left (b d + 2 c d x\right )^{\frac{3}{2}}}{3}\right )}{4 c^{2} d^{2}} + \frac{b^{2} \left (- \frac{b^{3} d^{3}}{\sqrt{b d + 2 c d x}} - 3 b^{2} d^{2} \sqrt{b d + 2 c d x} + b d \left (b d + 2 c d x\right )^{\frac{3}{2}} - \frac{\left (b d + 2 c d x\right )^{\frac{5}{2}}}{5}\right )}{2 c^{2} d^{3}} + \frac{5 b \left (\frac{b^{4} d^{4}}{\sqrt{b d + 2 c d x}} + 4 b^{3} d^{3} \sqrt{b d + 2 c d x} - 2 b^{2} d^{2} \left (b d + 2 c d x\right )^{\frac{3}{2}} + \frac{4 b d \left (b d + 2 c d x\right )^{\frac{5}{2}}}{5} - \frac{\left (b d + 2 c d x\right )^{\frac{7}{2}}}{7}\right )}{16 c^{2} d^{4}} + \frac{- \frac{b^{5} d^{5}}{\sqrt{b d + 2 c d x}} - 5 b^{4} d^{4} \sqrt{b d + 2 c d x} + \frac{10 b^{3} d^{3} \left (b d + 2 c d x\right )^{\frac{3}{2}}}{3} - 2 b^{2} d^{2} \left (b d + 2 c d x\right )^{\frac{5}{2}} + \frac{5 b d \left (b d + 2 c d x\right )^{\frac{7}{2}}}{7} - \frac{\left (b d + 2 c d x\right )^{\frac{9}{2}}}{9}}{16 c^{2} d^{5}}}{c} & \text{for}\: c \neq 0 \\\frac{\begin{cases} a^{2} x & \text{for}\: b = 0 \\\frac{\left (a + b x\right )^{3}}{3 b} & \text{otherwise} \end{cases}}{\sqrt{b d}} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**2+b*x+a)**2/(2*c*d*x+b*d)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.225313, size = 559, normalized size = 6.35 \[ \frac{5040 \, \sqrt{2 \, c d x + b d} a^{2} - \frac{1680 \,{\left (3 \, \sqrt{2 \, c d x + b d} b d -{\left (2 \, c d x + b d\right )}^{\frac{3}{2}}\right )} a b}{c d} + \frac{84 \,{\left (15 \, \sqrt{2 \, c d x + b d} b^{2} c^{8} d^{10} - 10 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b c^{8} d^{9} + 3 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} c^{8} d^{8}\right )} b^{2}}{c^{10} d^{10}} + \frac{168 \,{\left (15 \, \sqrt{2 \, c d x + b d} b^{2} c^{8} d^{10} - 10 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b c^{8} d^{9} + 3 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} c^{8} d^{8}\right )} a}{c^{9} d^{10}} - \frac{36 \,{\left (35 \, \sqrt{2 \, c d x + b d} b^{3} c^{18} d^{21} - 35 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b^{2} c^{18} d^{20} + 21 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} b c^{18} d^{19} - 5 \,{\left (2 \, c d x + b d\right )}^{\frac{7}{2}} c^{18} d^{18}\right )} b}{c^{20} d^{21}} + \frac{315 \, \sqrt{2 \, c d x + b d} b^{4} c^{32} d^{36} - 420 \,{\left (2 \, c d x + b d\right )}^{\frac{3}{2}} b^{3} c^{32} d^{35} + 378 \,{\left (2 \, c d x + b d\right )}^{\frac{5}{2}} b^{2} c^{32} d^{34} - 180 \,{\left (2 \, c d x + b d\right )}^{\frac{7}{2}} b c^{32} d^{33} + 35 \,{\left (2 \, c d x + b d\right )}^{\frac{9}{2}} c^{32} d^{32}}{c^{34} d^{36}}}{5040 \, c d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^2 + b*x + a)^2/sqrt(2*c*d*x + b*d),x, algorithm="giac")
[Out]